package com.hl.service;

import com.hl.mapper.Changephone;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ChangephoneServiceImpl implements ChangephoneService {
    @Autowired
    private Changephone changephone;

    @Override
    public int updatePhone( String phone,Integer userId) {
        //测试成功条数
        int num = changephone.savePhone(phone,userId);
        return num;
    }
}
